package com.mike.spring.Basic;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class BasicH {
    @Resource
    private BasicG basicG;

    public BasicG getBasicG() {
        return basicG;
    }

    public void setBasicG(BasicG basicG) {
        this.basicG = basicG;
    }

    @Override
    public String toString() {
        return "BasicH{" +
                "basicG=" + basicG +
                '}';
    }
}
